package com.offcn;

import com.offcn.common.config.FeignInterceptor;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.Bean;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * sellergoods应用程序
 *
 * @author 秋林
 * @date 2022/10/13 20:59:34
 */
@SpringBootApplication
@EnableDiscoveryClient
//事务开关
@EnableTransactionManagement
@MapperScan(basePackages = "com.offcn.sellergoods.mapper")
public class SellergoodsApplication {
    public static void main(String[] args) {
        SpringApplication.run(SellergoodsApplication.class, args);
    }

}